<iframe id="i"></iframe>
<video id="v"></video>
<script>
var doc = i.contentDocument;
i.remove();
doc.importNode(v);
</script>
